Render shadows for half-tiled windows
authorMatthias Clasen <mclasen@redhat.com>
Thu, 27 Nov 2014 14:42:58 +0000 (09:42 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 27 Nov 2014 23:24:12 +0000 (18:24 -0500)
Without this, side-by-side half-tiled windows are hard to discern.

https://bugzilla.gnome.org/show_bug.cgi?id=708857

gtk/gtkwindow.c

index 62a7caa4f6511a202a279733cdb49c39a7725fe1..16f7e049dc81518afcb39b23fd5032c6dafc3053 100644 (file)
@@ -6407,8 +6407,7 @@ get_shadow_width (GtkWidget *widget,
     return;
 
   if (priv->maximized ||
-      priv->fullscreen ||
-      priv->tiled)
+      priv->fullscreen)
     return;
 
   if (!gtk_widget_is_toplevel (widget))
@@ -9601,7 +9600,6 @@ gtk_window_draw (GtkWidget *widget,
       if (priv->client_decorated &&
           priv->decorated &&
           !priv->fullscreen &&
-          !priv->tiled &&
           !priv->maximized)
         {
           gtk_style_context_save (context);